﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MySalesPerformanceBills.aspx.cs" Inherits="YY.Web.MyAgent.MySalesPerformanceBills" %>

<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>我的销售业绩查看</title>
    <link href="/jQuery/PlugIns/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="/skin/default/style.css" rel="stylesheet" type="text/css" />
    <link href="/skin/pagination.css" rel="stylesheet" type="text/css" />
    <link href="/css/aspnetpager.css" rel="stylesheet" />
    <script type="text/javascript" charset="utf-8" src="/jQuery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/jQuery/PlugIns/artdialog/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="/js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="/js/common.js"></script>
    <script src="../jQuery/PlugIns/datepicker/WdatePicker.js"></script>
    <script type="text/javascript">
        $(function() {
            $(".div_sum span").last().css("padding-top","-20px");
        });
    </script>
    <style type="text/css">
        .div_time {
            font-size: 14px;
             color: #686f7f;
        }
         .div_sum span {
             text-align: left;
             float: left;
             padding-right: 100px;
             padding-top: 10px;
             font-size: 14px;
             color: #686f7f;
         }
        a {
            cursor:pointer
        }
    </style>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
        <asp:HiddenField ID="hf_account" runat="server" />
 <asp:HiddenField ID="hf_point" runat="server" />
        <!--导航栏-->
        <div class="location">
            <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
            <a href="../Center.aspx" class="home"><i></i><span>首页</span></a>
            <i class="arrow"></i>
            <span>我的销售业绩查看</span>
        </div>
        <!--工具栏-->
        <div id="floatHead" class="toolbar-wrap">
            <div class="toolbar">
                <div class="box-wrap">
                    <a class="menu-btn"></a>
                    <div class="l-list">
                        <%--<div class="menu-list">//
                            <div class="rule-single-select">
                                <asp:DropDownList ID="ddlChannelId" runat="server" AutoPostBack="True"></asp:DropDownList></div>
                        </div>--%>
                        <ul class="icon-list">
                            <li><i></i><a><span>日期从</span></a></li>
                            <li><i></i>
                                <asp:TextBox runat="server" ID="txt_starttime"  onclick="WdatePicker({ lang: 'zh-cn',maxDate:'%y-%M-{%d-45}'})"></asp:TextBox></li>
                            <li><i></i><a><span>至</span></a></li>
                            <li><i></i>
                                <asp:TextBox runat="server" ID="txt_endtime" onclick="WdatePicker({ lang: 'zh-cn',maxDate:'%y-%M-{%d-15}'})"></asp:TextBox></li>
                            <li>
                                <asp:LinkButton ID="btn_Search_Click" runat="server" OnClick="LinkButtonSearch_Click" CssClass="search"><i></i><span>查询</span></asp:LinkButton></li>

                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!--/工具栏-->
        <!--/导航栏-->
        <!--列表-->
        <div class="table-container">
            <!--文字列表-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                <asp:Repeater ID="rpt_sales_performance" runat="server">
                    <HeaderTemplate>
                        <tr>
                            <th align="center">购买时间</th>
                            <th align="center">会员姓名</th>
                            <th align="center">套餐类型</th>
                            <th align="center">套餐金额</th>
                            <th align="center">操作</th>
                        </tr>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <tr align="center">
                            <td><%#Eval("sales_time") %></td>
                            <td><%#Eval("user_name")%></td>
                            <td><%#Eval("type_of_packages") %></td>
                            <td><%#Eval("sales_bonus") %></td>
                            <td>
                                <a  href="BonusSee.aspx" >分红点查看</a></td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        <%#rpt_sales_performance.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"7\">暂无记录</td></tr>" : ""%>
                    </FooterTemplate>
                </asp:Repeater>
            </table>
            <br />
            <div class="pagelist">
                <webdiyer:AspNetPager ID="AspNetPager1" CssClass="anpager" CurrentPageButtonClass="cpb"
                    runat="server" AlwaysShow="True" Font-Size="12px" HorizontalAlign="Right" NextPageText="下一页<img src='/Images/right.gif' border='0' style='margin-left:5px;' />"
                    OnPageChanged="AspNetPager1_PageChanged" PageSize="3" ShowNavigationToolTip="True"
                    ShowPageIndex="true" Width="100%" NumericButtonCount="10" ShowFirstLast="False"
                    PrevPageText="<img src='/Images/left.gif' border='0' style='margin-right:5px;' />上一页">
                </webdiyer:AspNetPager>
            </div>
            <div class="div_time">
                <span style="width: 10px">截止到</span>
                <span><asp:Literal ID="ltl_end_time" runat="server" Text=""></asp:Literal></span>
            </div>
            <div  class="div_sum">
                <span>总销售:<asp:Literal ID="ltl_sum" runat="server" Text="0"></asp:Literal>套</span>
                <span>A套餐：<asp:Literal ID="ltl_A" runat="server" Text="0"></asp:Literal>套</span>
                <span>B套餐：<asp:Literal ID="ltl_B" runat="server" Text="0"></asp:Literal>套</span>
                <span>C套餐：<asp:Literal ID="ltl_C" runat="server" Text="0"></asp:Literal>套</span>
                <span>总销售额：<asp:Literal ID="ltl_sum_accout" runat="server" Text="0"></asp:Literal>*
                   <asp:Literal ID="ltl_point" Text="0" runat="server"></asp:Literal>=
                   <asp:Literal ID="ltl_gain" runat="server" Text="0"></asp:Literal><a href="BonusSee.aspx">更多...</a></span>
                <span>尚有资金：<asp:Literal ID="ltl_fund" runat="server" Text="0元"></asp:Literal>未转出</span>
                 <span><asp:Button runat="server"  CssClass="btn"  ID="btn_Acount" Text="转出到分红账户" OnClientClick="return  confirm('确定要转出吗?');" OnClick="btn_Acount_Click"></asp:Button></span>
            </div>
        </div>
        
        <!--/文字列表-->

    </form>
</body>
</html>
